<table>
    <thead>
        <tr>
            <th>Login</th>
            <th>Imie</th>
            <th>Nazwisko</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($users as $user) : ?>
            <tr>
                <td><?= $user->getLogin() ?></td>
                <td><?= $user->getFirstName() ?></td>
                <td><?= $user->getSecondName() ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>

<a href="<?= $router->getActionUrl('UserController/add') ?>"><?= $text->get('helpdesk.users.add.link') ?></a>
